"""
演示 Python 的运算符
"""

print("演示 Python 的运算符")
print("1 + 1 = ", 1 + 1)
print("10 - 20 = ", 10 - 20)
print("2 * 3 = ", 2 * 3)
print("10 / 3 = ", 10 / 3)
print("10 // 3 = ", 10 // 3)
print("10 % 3 = ", 10 % 3)
print("2 ** 10 = ", 2 ** 10)
print()

"""
演示 Python 的赋值运算符
"""
print("演示 Python 的赋值运算符")
value = 10
print("value = ", value)
value += 2
print("value = ", value)
value -= 10
print("value = ", value)
value *= 6
print("value = ", value)
value /= 5
print("value = ", value)
value //= 2
print("value = ", value)
value = 10
value %= 3
print("value = ", value)
value = 2
value **= 10
print("value = ", value)